<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css.css" rel="stylesheet" type="text/css">

<title>동화마을 - Angels reading</title>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<script src="/prototype.js" type="text/javascript"></script>
<script type="text/javascript" >
String.prototype.number_format=function(){
return this.replace(/(\d)(?=(?:\d{3})+(?!\d))/g,'$1,');
}
    function cancel() {
            if(confirm('주문을 취소하시겠습니까?')) {
                    window.history.go(-1);
            }
    }

    function addbook() {
        var totalPriceEl = document.getElementsByName('totalPrice')[0];
        var bookprice = document.getElementsByName('bookprice')[0];

        if(bookprice.checked) {
            totalPriceEl.value = parseInt(totalPriceEl.value) + parseInt(bookprice.value) //빼주기
                document.getElementsByName('division[]')[1].value = 'book';
                document.getElementsByName('div_val[]')[1].value = {_b.no};
        } else {
            totalPriceEl.value = parseInt(totalPriceEl.value) - parseInt(bookprice.value) //더해주기
                document.getElementsByName('division[]')[1].value = '';
                document.getElementsByName('div_val[]')[1].value = '';
        }
        var textPrice = '₩ '+ totalPriceEl.value.number_format();
        $('price1').innerHTML  = textPrice;
        $('price2').innerHTML  = textPrice;

    }
</script>
<style type="text/css">
<!--
body {
    background-color: #f4f4e8;
}
-->
</style>
</head>

<body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0">
<form action="sub_reg_step03.html" method="post">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="f4f4e8">
  <tr>

    <td><table width="1024" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="1024"><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','1024','height','169','src','images/sub_top','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','images/sub_top' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="1024" height="169">
          <param name="movie" value="images/sub_top.swf" />
          <param name="quality" value="high" />
          <embed src="images/sub_top.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="1024" height="169"></embed>
        </object></noscript></td>
      </tr>
      <tr>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="214" valign="top">

            
            
            <!--서브 메뉴 테이블 시작 -->
            <table border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td><img src="images/sub_reg_menu_title.gif" width="202" height="45" /></td>
              </tr>
              <tr>
                <td><img src="images/sub_menu_top.gif" width="202" height="17" /></td>
              </tr>
              <tr>

                <td height="8" background="images/sub_menu_bg.gif"><img src="images/sub_reg_menu_01.gif" width="202" height="19" /></td>
              </tr>
              <tr>
                <td><img src="images/sub_menu_bottom.gif" width="202" height="11" /></td>
              </tr>
              <tr>
                <td><a href="customer01_list.html" target="_self"><img src="images/sub_menu_qna.gif" width="202" height="49" border="0" /></a></td>
              </tr>
              <tr>

                <td><img src="images/sub_menu_sp.gif" width="202" height="14" /></td>
              </tr>
              <tr>
                <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td><img src="images/sub_menu_log_left.gif" width="16" height="62" /></td>
                      <td><a href="bbs/login.php" target="_self"><img src="images/sub_menu_buttom_login.gif" width="59" height="62" border="0" /></a></td>
                      <td><a href="bbs/register.php" target="_self"><img src="images/sub_menu_buttom_join.gif" width="56" height="62" border="0" /></a></td>
                      <td><a href="mydesk/timetable.php" target="_self"><img src="images/sub_menu_buttom_mydesk.gif" width="66" height="62" border="0" /></a></td>

                      <td><img src="images/sub_menu_log_right.gif" width="5" height="62" /></td>
                    </tr>
                </table></td>
              </tr>
              <tr>
                <td><img src="images/home_login_bottom.gif" width="202" height="6" /></td>
              </tr>
              <tr>
                <td><img src="images/sub_menu_customs.gif" width="202" height="130" /></td>

              </tr>
            </table>
            
<!--서브 메뉴 테이블 끝 -->
            
            
            
                                    </td>
            <td width="75" valign="top"><img src="images/sub_contents_sp.jpg" width="75" height="657" /></td>
            <td valign="top">
            
            
            <!--컨텐츠 테이블 시작 -->
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>

                <td><img src="images/sub_reg_contents_title.gif" width="747" height="45" /></td>
              </tr>
              <tr>
                <td><img src="images/sub_contents_title_tail.gif" width="747" height="17" /></td>
              </tr>
              <tr>
                <td><img src="images/sub_contents_reg_preview.jpg" width="747" height="94" /></td>
              </tr>
              <tr>

                <td>
                
                
                
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="19" valign="top"><img src="images/sub_contents_tail_left.gif" width="19" height="573" /></td>
                    <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="font">
                      <tr>
                        <td width="13" height="30"><img src="images/blank.gif" width="1" height="1" /></td>
                        <td height="30"><img src="images/blank.gif" width="1" height="1" /></td>
                        </tr>

                      <tr>
                        <td><img src="images/blank.gif" width="1" height="1" /></td>
                        <td><table width="677" border="0" cellpadding="0" cellspacing="0" class="font">
                          <tr>
                            <td valign="top" background="images/sub_join_form_bg.gif"><img src="images/sub_join_form_top.gif" width="677" height="9" /></td>
                          </tr>
                          <tr>
                            <td background="images/sub_join_form_bg.gif"><p><img src="images/blank.gif" width="15" height="1" /><strong>수강신청 내용</strong></p>

                              <table width="95%" border="1" align="center" cellpadding="0" cellspacing="0"  bordercolor="#CCCCCC" style="border-collapse:collapse;">
                              <tr>
                                <td height="30" bgcolor="#E0E0C9"><div align="center">선생님</div></td>
                                <td height="25" bgcolor="#E0E0C9"><div align="center">시간</div></td>
                                <td bgcolor="#E0E0C9"><div align="center">기간</div></td>
                                <td bgcolor="#E0E0C9"><div align="center">수업</div></td>
                                <td bgcolor="#E0E0C9"><div align="center">교재</div></td>

                                <td height="25" bgcolor="#E0E0C9"><div align="center">수업료</div></td>
                                <td height="25" bgcolor="#E0E0C9"><div align="center">취소</div></td>
                              </tr>
                              <tr>
                                <td height="30"><div align="center">{_t.mb_name}</div></td>
                                <td height="25"><div align="center">{_c.starttime}</div></td>
                                <td><div align="center">{_c.year}년 {_c.month}월</div></td>

                                <td><div align="center">{_c.name}</div></td>
                                <td><div align="center">{_b.name}</div></td>
                                <td height="25"><div align="center">₩ {_c.price}</div></td>
                                <td height="25"><div align="center">
                                    <label>
                                    <input type="button" value="취소" onclick="cancel()" />
                                    </label>

                                </div></td>
                              </tr>
                            </table>
                              <div align="center"></div>
                              </label></td>
                          </tr>
                          <tr>
                            <td><img src="images/sub_join_form_bottom.gif" width="677" height="9" /></td>
                          </tr>

                        </table></td>
                      </tr>
                      <tr>
                        <td height="10"><img src="images/blank.gif" width="1" height="1" /></td>
                        <td height="10"><img src="images/blank.gif" width="1" height="1" /></td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                        <td><table width="677" border="0" cellpadding="0" cellspacing="0" class="font">

                          <tr>
                            <td valign="top" background="images/sub_join_form_bg.gif"><img src="images/sub_join_form_top.gif" width="677" height="9" /></td>
                          </tr>
                          <tr>
                            <td background="images/sub_join_form_bg.gif"><p><img src="images/blank.gif" alt="" width="15" height="1" /><strong>교재 구매 내용</strong></p>
                              <table width="95%" border="1" align="center" cellpadding="0" cellspacing="0"  bordercolor="#CCCCCC" style="border-collapse:collapse;">
                              <tr>
                                <td height="30" bgcolor="#E0E0C9"><div align="center">교재명</div></td>

                                <td height="25" bgcolor="#E0E0C9"><div align="center">저자</div></td>
                                <td bgcolor="#E0E0C9"><div align="center">출판사</div></td>
                                <td bgcolor="#E0E0C9"><div align="center">금액</div></td>
                                <td bgcolor="#E0E0C9"><div align="center">구입</div></td>
                              </tr>
                              <tr>
                                <td height="30"><div align="center">{_b.name}</div></td>

                                <td height="25"><div align="center">{_b.author}</div></td>
                                <td><div align="center">{_b.publisher}</div></td>
                                <td><div align="center">₩ {_b.price}</div></td>
                                <td><div align="center">
                                    <label>
                                    <input type="checkbox" name="bookprice" id="checkbox" value="{_b.pricenum}" onclick="addbook()" />
                                    </label>

                                </div></td>
                              </tr>
                            </table></td>
                          </tr>
                          <tr>
                            <td height="25" background="images/sub_join_form_bg.gif"><div align="center">* 구입을 체크하시면 교재를 구입하실 수 있습니다.</div>
                              </label></td>
                          </tr>

                          <tr>
                            <td><img src="images/sub_join_form_bottom.gif" width="677" height="9" /></td>
                          </tr>
                        </table></td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                      </tr>

                      <tr>
                        <td>&nbsp;</td>
                        <td><table width="677" border="0" cellpadding="0" cellspacing="0" class="font">
                          <tr>
                            <td valign="top" background="images/sub_join_form_bg.gif"><img src="images/sub_join_form_top.gif" width="677" height="9" /></td>
                          </tr>
                          <tr>
                            <td background="images/sub_join_form_bg.gif">
                              <p><img src="images/blank.gif" alt="" width="15" height="1" /><strong>결재 금액 내용</strong></p>

                              <table width="95%" border="1" align="center" cellpadding="0" cellspacing="0"  bordercolor="#CCCCCC" style="border-collapse:collapse;">
                                      <tr>
                                        <td height="30" bgcolor="#E0E0C9"><div align="center">결재 금액</div></td>
                                        <td height="25" bgcolor="#E0E0C9"><div align="center">배송비용</div></td>
                                        <td bgcolor="#E0E0C9"><div align="center">총 합계</div></td>
                                        </tr>
                                      <tr>

                                        <input type="hidden" name="totalPrice" value="{_c.pricenum}"/>
                                        <td height="30"><div align="center"id="price1" >₩ {_c.price}</div></td>
                                        <td height="25"><div align="center">무료</div></td>
                                        <td><div align="center" id="price2">{_c.price}</div></td>
                                        </tr>
                                                                                              </table>                                </label>                              </td>
                          </tr>

                          <tr>
                            <td height="25" background="images/sub_join_form_bg.gif"><div align="center">* 수강 신청 후 3일 이내에 입금 하시지 않으면 자동으로 취소됩니다.</div>
                                </label></td>
                          </tr>
                          <tr>
                            <td><img src="images/sub_join_form_bottom.gif" width="677" height="9" /></td>
                          </tr>
                        </table></td>

                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                        <td height="35"> <div align="center"><!--<a href="sub_reg_step01.html" target="_self"><img src="images/sub_reg_buttom_add.gif" width="101" height="21" border="0" /></a>--><input type="image" src="images/sub_reg_buttom_payment.gif" border="0" style="width:68px; height:21px;" />&nbsp;<a href="javascript:cancel()" ><img src="images/sub_reg_buttom_cancel.gif" width="68" height="21" border="0" /></a></div></td>
                      </tr>
                      <tr>
                        <td width="13"><img src="images/blank.gif" width="1" height="1" /></td>

                        <td height="20"><img src="images/blank.gif" width="1" height="1" /></td>
                        </tr>
                      

                    </table></td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td><img src="images/sub_contents_copy.gif" width="747" height="144" border="0" usemap="#Map" />
                  <map name="Map" id="Map">

                    <area shape="rect" coords="35,76,76,92" href="http://www.turnway.com/new/introduction/introduce.php" target="_blank" />
                    <area shape="rect" coords="87,76,145,92" href="http://www.turnway.com/new/privacy/ad.php" target="_blank" />
                    <area shape="rect" coords="159,77,241,92" href="http://www.turnway.com/new/privacy/privacy.php" target="_blank" />
                    <area shape="rect" coords="254,77,295,92" href="http://www.turnway.com/new/notice/list.php?tbl_name=notice6" target="_blank" />
                    <area shape="rect" coords="304,76,362,91" href="http://www.turnway.com/new/introduction/location.php" target="_blank" />
                    <area shape="rect" coords="26,33,150,60" href="http://www.turnway.com/" target="_blank" />
                  </map></td>
              </tr>
              <tr>

                <td height="20"><img src="images/blank.gif" width="1" height="1" /></td>
              </tr>
            </table>
            <!--컨텐츠 테이블 끝 -->
            
            
            </td>
          </tr>
        </table></td>
      </tr>
    </table></td>

  </tr>
</table>
<input type="hidden" name="division[]" value="course" />
<input type="hidden" name="division[]" value="" />
<input type="hidden" name="div_val[]" value="{_c.no}" />
<input type="hidden" name="div_val[]" value="" />
</form>
</body>
</html>
